<?php  
/*
# ------------------------------------------------------------------------
# JA Job Board Package
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/

defined('_JEXEC') or die('Retricted Access');
 global $mainframe;
 JHTML::_('behavior.tooltip');
 JToolBarHelper::custom('cleancache', 'config', '', JText::_('Clean Cache'), false);
?>
<style type="text/css">
	td.key{
		font-weight:normal !important;
		text-align:left !important;
	}
	td.master{
		font-weight:bold !important;
	}
</style>
<form action="index.php" method="post" name="adminForm">
<div class="col100">
	<fieldset class="adminform">
		<?php echo $this->getTabs();?>
	</fieldset>	
	<fieldset class="adminform">
		<legend><?php echo JText::_( 'Cache Config' ); ?></legend>		
		<table class="admintable" width="100%">
		<tbody>		
							
			
			<tr>
				<td class="key">
					<label for="caching0"><?php echo JText::_( 'Enable cache component' ); ?></label>:
				</td>
				<td width="79%">
					<?php $caching = $this->params->get('caching')?1:0;?>
					<?php echo JHTML::_('select.booleanlist', 'cache[caching]', '', $caching);?>
				</td>
			</tr>
			<tr>
				<td class="key">
					<label for="cache_time"><?php echo JText::_( 'Cache time' ); ?></label>:
				</td>
				<td width="79%">
					<input type="text" name="cache[cache_time]" value="<?php echo $this->params->get('cache_time', 2);?>" id="cache_time"  size="3"> (<?php echo JText::_('Minutes')?>)
				</td>
			</tr>
			<tr>
				<td class="key">
					<label for="cache_base"><?php echo JText::_( 'Cache Dir' ); ?></label>:
				</td>
				<td width="79%">
					<?php 	$cache_base = JPATH_SITE.DS.'components'.DS.'com_jajobboard'.DS.'cache';?>
					<input type="text" name="cache[cache_base]" value="<?php echo $this->params->get('cache_base', $cache_base);?>" id="cache_base"  size="90">
				</td>
			</tr>
			
		</tbody>
		</table>
	</fieldset>
</div>
<div class="clr"></div>
<input type="hidden" name="option" value="<?php echo JBCOMNAME; ?>" />
<input type="hidden" name="view" value="jaconfiguration" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="tab" value="<?php echo $this->tab; ?>" />
<input type="hidden" name="cid" value="<?php echo $this->cid; ?>" />
<?php echo JHTML::_( 'form.token' ); ?>	
 </form>
